class CreateTarifAdherents < ActiveRecord::Migration
  def self.up
    create_table :tarif_adherents do |t|
      t.string :type, :null => false
      t.decimal :tarif, :precision => 3, :scale => 2
      t.integer :reduction, :default => 0
      t.timestamps
    end
  end

  def self.down
    drop_table :tarif_adherents
  end
end
